package test.ygqh.baby.service;

public class Server { 
	 
    public void getClientMsg(CSCallBack csCallBack , String msg) { 
        System.out.println("服务端：服务端接收到客户端发送的消息为:" + msg); 
 
        // 模拟服务端需要对数据处理 
        try { 
        	System.out.println(111111);
            Thread.sleep(10 * 1000); 
            System.out.println(222222);
        } catch (InterruptedException e) { 
            e.printStackTrace(); 
        } 
        System.out.println("服务端:数据处理成功，返回成功状态 200"); 
        String status = "200"; 
        csCallBack.process(status); 
    } 
} 